﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using ColorCode;

namespace AnglicanGeek.LiveWriter
{
    public class StubInsertSourceCodeDialog : IInsertSourceCodeDialog
    {
        public ILanguage Language__GetValue { get; set; }
        public IEnumerable<ILanguage> SetLanguageChoices__LanguagesArg { get; set; }
        public FormStartPosition StartPosition__SetValue { get; set; }
        public IWin32Window Show__DialogOwnerArg { get; set; }
        public DialogResult Show__Return { get; set; }
        public string SourceCode__GetValue { get; set; }
        
        public ILanguage Language
        {
            get { return Language__GetValue; }
        }
        
        public string SourceCode
        {
            get { return SourceCode__GetValue; }
        }

        public FormStartPosition StartPosition
        {
            set { StartPosition__SetValue = value; }
        }

        public void SetLanguageChoices(IEnumerable<ILanguage> languages)
        {
            SetLanguageChoices__LanguagesArg = languages;
        }

        public DialogResult Show(IWin32Window dialogOwner)
        {
            Show__DialogOwnerArg = dialogOwner;

            return Show__Return;
        }
    }
}
